package com.sharding.test.service;

import com.sharding.test.entity.TsLabels;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author yangpeiyu
 * @since 2021-10-22
 */
public interface TsLabelsService extends IService<TsLabels> {

	/**
	 * 创建标签
	 * @param labels
	 * @return
	 */
	boolean create(TsLabels labels);
	
	/**
	 * 根据ID查询标签
	 * @param id
	 * @return
	 */
	TsLabels getLabelsById(Integer id);
}
